package edu.zut.pojo;


import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
//商品信息实体
public class Items {

    private Integer id;
    private String name;
    private Float price;
    private String detail;
    private String pic;
    private LocalDate createTime;

    //一个商品可以在多个订单的详情中
    private List<OrderDetails> orderDetailsList;

}
